// 1 为输入框input
// 2 为下拉选择select  21 多选下拉框 22分类单选
// 3 为日期选择框  31 日期范围
// 4 为多行文本输入textarea
export const allFields = [
  { fieldName: 'eventId', fieldTxt: '事件编号', placeholder: '请输入事件编号', UiType: 1, must: true },
  { fieldName: 'eventName', fieldTxt: '事件名称', placeholder: '请输入事件名称', UiType: 1, must: true },
  { fieldName: 'happenDate', fieldTxt: '发生日期', placeholder: '请选择发生日期', UiType: 3, must: true },
  { fieldName: 'happenPlace', fieldTxt: '发生地点', placeholder: '请输入发生地点', UiType: 1, must: true },
  { fieldName: 'eventSize', fieldTxt: '事件规模', placeholder: '请选择事件规模', UiType: 2, must: true },
  { fieldName: 'eventType', fieldTxt: '事件类别', placeholder: '请输入事件类别', UiType: 1, must: true },
  { fieldName: 'involvePeople', fieldTxt: '涉及人数', placeholder: '请输入涉及人数', UiType: 1, must: true },
  { fieldName: 'eventDesc', fieldTxt: '事件简述', placeholder: '请输入事件简述', UiType: 4, must: true },
  { fieldName: 'involveUnit', fieldTxt: '涉及单位', placeholder: '请输入涉及单位', UiType: 1, must: true },
  { fieldName: 'partyCardCode', fieldTxt: '主要当事人证件代码', placeholder: '请输入主要当事人证件代码', UiType: 1, must: true },
  { fieldName: 'partyCardNo', fieldTxt: '主要当事人证件号码', placeholder: '请输入主要当事人证件号码', UiType: 1, must: true },
  { fieldName: 'partyName', fieldTxt: '主要当事人姓名', placeholder: '请输入主要当事人姓名', UiType: 1, must: true },
  { fieldName: 'partySex', fieldTxt: '主要当事人性别', placeholder: '请选择主要当事人性别', UiType: 2, must: true },
  { fieldName: 'partyNation', fieldTxt: '主要当事人民族', placeholder: '请选择主要当事人民族', UiType: 2, must: true },
  { fieldName: 'partyEducation', fieldTxt: '主要当事人学历', placeholder: '请选择主要当事人学历', UiType: 2, must: true },
  { fieldName: 'partyPeopleType', fieldTxt: '主要当事人人员类别', placeholder: '请选择主要当事人人员类别', UiType: 22, must: true },
  { fieldName: 'partyAddress', fieldTxt: '主要当事人居住详细地址', placeholder: '请输入主要当事人居住详细地址', UiType: 4, must: true },
  { fieldName: 'resolveTimeLimit', fieldTxt: '化解时限', placeholder: '请选择化解时限', UiType: 3, must: true },
  { fieldName: 'resolveType', fieldTxt: '化解方式', placeholder: '请输入化解方式', UiType: 1, must: true },
  { fieldName: 'resolveGroup', fieldTxt: '化解组织', placeholder: '请输入化解组织', UiType: 1, must: true },
  { fieldName: 'resolveName', fieldTxt: '化解责任人姓名', placeholder: '请输入化解责任人姓名', UiType: 1, must: true },
  { fieldName: 'resolveContact', fieldTxt: '化解责任人联系方式', placeholder: '请输入化解责任人联系方式', UiType: 1, must: true },
  { fieldName: 'resolveSuccess', fieldTxt: '化解是否成功', placeholder: '请选择化解是否成功', UiType: 2, must: true },
  { fieldName: 'resolveSituation', fieldTxt: '化解情况', placeholder: '请输入化解情况', UiType: 4, must: true },
  { fieldName: 'evaluationDate', fieldTxt: '考评日期', placeholder: '请选择考评日期', UiType: 3, must: true },
  { fieldName: 'evaluationOpinion', fieldTxt: '考评意见', placeholder: '请输入考评意见', UiType: 4, must: true },
  { fieldName: 'picture', fieldTxt: '图片', placeholder: '请上传图片', UiType: 5 },
  { fieldName: 'video', fieldTxt: '视频', placeholder: '请上传视频', UiType: 5 },
  { fieldName: 'longitude', fieldTxt: '经度', placeholder: '请输入经度', UiType: 1 },
  { fieldName: 'latitude', fieldTxt: '纬度', placeholder: '请输入纬度', UiType: 1 },
  { fieldName: 'eventStatus', fieldTxt: '事件办理进度', placeholder: '请选择事件办理进度', UiType: 2 },
  { fieldName: 'assign', fieldTxt: '是否指派', placeholder: '请选择是否指派', UiType: 2 },
  { fieldName: 'assignGridPeople', fieldTxt: '指派网格员', placeholder: '请输入指派网格员', UiType: 1 },
  { fieldName: 'changeGridPeople', fieldTxt: '转派网格员', placeholder: '请输入转派网格员', UiType: 1 },
  { fieldName: 'filed', fieldTxt: '是否归档', placeholder: '请选择是否归档', UiType: 2 }
]

export const optList = {
  eventSize: [
    { code: '01', name: '个体性事件' },
    { code: '02', name: '重大群体性事件' },
    { code: '03', name: '一般群体性事件' }
  ],
  eventStatus: [
    { code: 0, name: '待办理' },
    { code: 1, name: '调解中' },
    { code: 2, name: '调解成功' },
    { code: 3, name: '调解失败' }
  ],
  partyPeopleType: [
    {
      code: '01',
      name: '一般分类',
      partyPeopleType: [
        { code: '0101', name: '机关企事业单位从业人员' },
        { code: '0102', name: '农林牧渔从业人员' },
        { code: '0103', name: '个体或自由职业人员' },
        { code: '0104', name: '军人' },
        { code: '0105', name: '离退休人员' },
        { code: '0106', name: '学生' },
        { code: '0107', name: '无业人员' },
        { code: '0199', name: '其他人员' }
      ]
    },
    {
      code: '02',
      name: '专项分类',
      partyPeopleType: [
        { code: '0201', name: '涉企事业单位改制人员' },
        { code: '0202', name: '军队退役人员' },
        { code: '0203', name: '原民办、国企教师' },
        { code: '0204', name: '国有企业退休职工' },
        { code: '0205', name: '返城知青' },
        { code: '0206', name: '失独人员' },
        { code: '0207', name: '农村进城务工人员' },
        { code: '0299', name: '其他群体性诉求人员' }
      ]
    }
  ],
  yesOrNo: [
    { code: 1, name: '是' },
    { code: 0, name: '否' }
  ]
}
